package com.jsh.frame.myframe2.fragment;

import android.widget.ImageView;

import com.bumptech.glide.Glide;
import com.jsh.frame.myframe2.R;

import butterknife.BindView;
import jp.wasabeef.glide.transformations.CropCircleTransformation;

/**
 * Created by 王征 on 2017/8/2.
 */

public class HeadFragment extends BaseFragment {
    @BindView(R.id.iv_head)
    ImageView ivHead;

    @Override
    protected int getResId() {
        return R.layout.fragment_head;
    }

    @Override
    protected void initView() {
        Glide.with(this).load(R.mipmap.ic_head).bitmapTransform(new CropCircleTransformation(getContext())).into(ivHead);
    }

    @Override
    protected void initData() {

    }
}
